home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / Re Undo Set Property.6 < prev    next >
Encoding:
Internet Message Format  |  1996-08-08  |  1.1 KB  |  [TEXT/ttxt]

  1. Subject:     Re:Undo Set Property
  2. Sent:        8/7/96 4:59 PM
  3. Received:    8/8/96 8:57 AM
  4. From:        Greg Friedman, friedman@cognosis.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Serge Froment wrote:
  9. > >This is a good suggestion, though I think it should be a virtual method of
  10. > >FW_MScriptable, not of FW_CPart.
  11. >
  12. > Making NewSetPropertyCommand a method of FW_MScriptable is OK for me.
  13. >
  14. > I am sure this is what you intend to do, but to make sure we understand
  15. > each other well, FW_CPropertyDesignator::DoAESetData should call
  16. > fObject->NewSetPropertyCommand(), not this->NewSetPropertyCommand().
  17. > Otherwise we are back to square one.
  18.  
  19. I posted a more recent message explaining why I've decided against this
  20. strategy. Instead, I added FW_MScriptable::SaveProperty, and modified
  21. FW_CSetPropertyCommand::DoIt to call SaveProperty instead of GetProperty. I
  22. think this hook should work for you.
  23.  
  24. Greg.
  25.  
  26.  
  27. ___________________________________________________________
  28.  Greg Friedman       ODF Engineering        Apple Computer
  29.  
  30.  
  31.